package com.xinruke.hostels.manage.user.interfaces.dto.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * @ClassName LoginValidateDTO
 * @CreateDate 2019/6/12
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 登录验证请求
 */
@ApiModel("登录验证请求")
public class LoginManageValidateDTO {
    @ApiModelProperty("登录token")
    @NotBlank(message = "token不能为空")
    private String token;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}